package com.flyduck.vo;

import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 * NavRespVO
 * </p>
 *
 * @author flyduck
 * @since 2024-05-31
 */
@Data
public class UserPermRespVO implements Serializable {

    private List<String> permissionList;

    private List<NavDTO> menuList;

    @Data
    public static class NavDTO implements Serializable{
        private Long id;
        private Long parentId;
        private Integer type;

        private String name;
        private String title;
        private String icon;
        private String path;
        private String component;
        private List<NavDTO> children = new ArrayList<>();
    }
}
